package com.siyuan.neo4j.service;

import com.siyuan.neo4j.mapper.UserNodeRepository;
import com.siyuan.neo4j.model.UserNode;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @className: UserNodeService
 * @Description: TODO
 * @author: siyuan
 * @date: 2022/8/29 17:28
 */
@Service
public class UserNodeService {

    @Autowired
    private UserNodeRepository userNodeRepository;

    public void saveNode(UserNode userNode) {
        userNodeRepository.save(userNode);
    }
}
